package com.hotel.service;

import com.hotel.model.auto.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.model.auto.RoomClass;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author
 * @since 2023-04-03
 */
public interface IRoomService extends IService<Room> {

    public List<RoomClass> findAllRoom();

    /*查询空置的房间*/
    public int PayRoomId(int room_type_id);

    /*支付后房间类型的更改*/
    int PayUpF(int roomId);

    /*订单结束后房间类型的更改*/
    int PayUpE(int roomId);
}
